<script>
	import socket from '@/common/socket';
	export default {
		onLaunch() {
			setTimeout(t=>this.$store.dispatch('initConfigForVuex',this),200)
			this.token && socket.init()
		}
	}
</script>
<style lang="scss">
	@import "static/font/iconfont.css";
	@import "uview-ui/index.scss";
	.u-ellipsis{overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}
</style>